package com.cskaoyan.market.service;

import com.cskaoyan.market.db.admin.vo.CategoryIVo;
import com.cskaoyan.market.db.admin.vo.MyCategoryVo;

import java.time.LocalDateTime;


public interface AdminCategoryService {
    MyCategoryVo list();

    CategoryIVo innerList();

    void insertCategory(String desc, String name, String iconUrl, String keywords, String level, LocalDateTime addtime, LocalDateTime updatetime, Integer pid, String picUrl, Integer id);

    void updateCategory(String desc, String name, String iconUrl, String keywords, String level, LocalDateTime addtime, LocalDateTime updatetime, Integer pid, String picUrl, Integer id);

    void deleteCategory(Integer id);
}
